package com.itita.ww2.handler.requesthandler.game;

import com.itita.ww2.core.AbstractClientRequestHandler;
import com.smartfoxserver.v2.annotations.MultiHandler;

@MultiHandler
public class GameHandler extends AbstractClientRequestHandler {
	public static final String COMMAND_PREFIX = "game";

	@Override
	protected void init() {
		addClientRequestItem("heartbeat", HeartBeat.class); // 心跳
		addClientRequestItem("expedite", Expedite.class); // 加速耗时操作
	}

	@Override
	protected void setCommandPrefix() {
		super.cmd_prefix = COMMAND_PREFIX;
	}
}
